#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable : 4996)
#pragma warning(disable : 6031)

#include "Queue.h"

int main()
{
	Queue Qu;
	QueueInit(&Qu);

	QueuePush(&Qu, 1);
	QueuePush(&Qu, 2);
	
	QueuePush(&Qu, 3);
	QueuePush(&Qu, 4);
	printf("%d\n", QueueBack(&Qu));


	while (!QueueEmpty(&Qu))
	{
		printf("%d %d %d\n", QueueFront(&Qu) ,QueueSize(&Qu) , QueueBack(&Qu));
		QueuePop(&Qu);
	}

	QueueDestroy(&Qu);
	return 0;
}